package com.bstek.uflo.designer.security.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.bstek.uflo.designer.security.model.AuthorityType;

/**
 * @author matt.yao@bstek.com
 * @since 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Inherited
public @interface SecurityAttribute {

	String key() default "";

	String label() default "";

	AuthorityType authorityType() default AuthorityType.Write;
}